
package com.pederszt.foodiary.jdo;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

@PersistenceCapable
public class Category
{
  @Persistent
  private Long categoryId;

  @Persistent
  private String categoryName;

  @Persistent
  private Category parentCategory;

  public String getCategoryName()
  {
    return categoryName;
  }

  public void setCategoryName( String categoryName )
  {
    this.categoryName = categoryName;
  }

}
